
<body>
<table width="100%"  border="0">

  <tr>
    <td height="48"><table width="100%"  border="0">
      <tr>
        <td width="20%" height="33"></td>
        <td width="3%"><b><i>Dr(a): </i></b></td>
        <td width="35%"><i><?php echo @$agenda['Medico']['nome']?></i></td>
        <td width="5%"><b><i>Convênio: </i></b></td>
        <td width="37%"><i><?php echo @$agenda['Convenio']['nome']?></i></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td><table width="100%"  border="0">
      <tr>
        <td width="4%"><b>Nome: </b></td>
        <td width="61%"><?php echo @$agenda['Paciente']['nome']?></td>
        <td width="5%"><b>Nasc.:</b></td>
        <td width="30%"><?php echo @$agenda['Paciente']['data_nascimento']?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%"  border="0">
      <tr>
        <td width="5%"><b>Endereço: </b></td>
        <td width="47%"><?php echo @$agenda['Paciente']['endereco_logradouro']?></td>
        <td width="2%"><b>Nº: </b></td>
        <td width="5%"><?php echo @$agenda['Paciente']['endereco_numero']?></td>
        <td width="4%"><b>Comp.: </b></td>
        <td width="7%"><?php echo @$agenda['Paciente']['endereco_complemento']?></td>
        <td width="4%"><b>Bairro: </b></td>
        <td width="26%"><?php echo @$agenda['Paciente']['endereco_bairro']?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%"  border="0">
      <tr>
        <td width="5%"><b>Cidade: </b></td>
        <td width="40%"><?php echo @$agenda['Paciente']['Cidade']['nome']?></td>
        <td width="5%"><b>CEP: </b></td>
        <td width="13%"><?php echo @$agenda['Paciente']['endereco_cep']?></td>
        <td width="5%"><b>Tel.:</b></td>
        <td width="32%">
        	<?php echo 
        		@$agenda['Paciente']['telefone1'] . ' ' . @$agenda['Paciente']['celular1'] . ' ' . @$agenda['Paciente']['celular2'] . ' ' . @$agenda['Paciente']['celular3'];
        	?>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%"  border="0">
      <tr>
        <td width="8%"><b>Profissão: </b></td>
        <td width="42%"><?php echo @$agenda['Paciente']['Profissao']['nome']?></td>
        <td width="15%"><b>Estado Civil: </b></td>
        <td width="35%"><?php echo @$agenda['Paciente']['EstadoCivil']['nome']?></td>      
      </tr>
    </table></td>
  </tr>  
  <tr>
    <td><table width="100%"  border="0">
      <tr>  
        <td width="5%"><b>Data: </b></td>
        <td width="95%"><?php echo @$agenda['Agenda']['data_agenda']?></td>
      </tr>
    </table></td>
  </tr>    
</table>
</body>

